WP_DataSync\App\DataSync D

Total Complexity 143
Dependencies 4
Dependents 2
Total lines 1,445
Lines of code 560
Logical lines of code 285
Comment lines 452
Methods 57
Properties 15

Methods 57

Method Rating Maintainability Complexity Lines of code
attachment()
A
41 10 56
process()
A
49 10 35
taxonomy()
A
48 10 32
file_type()
S
53 6 23
maybe_trash_post()
S
60 6 13
term_meta()
S
60 6 13
fetch_post_id()
S
54 5 23
set_term()
S
52 4 23
post_meta()
S
59 4 14
set_post_id()
S
60 4 14
term_exists()
S
52 3 27
attachment_exists()
S
59 3 16
post_data()
S
58 3 16
insert_post_row()
S
61 3 13
post_data_apply_filters()
S
62 3 11
insert_placeholder()
S
62 3 11
attachment_id()
S
66 3 9
set_properties()
S
69 3 7
term_desc()
S
64 3 10
term_thumb()
S
64 3 10
post_data_defaults()
S
66 3 8
image()
S
62 2 12
reset_term_taxonomy_count()
S
61 1 17
post_data_keys()
S
59 1 16
featured_image()
S
70 2 6
integrations()
S
72 2 5
get_post_type()
S
78 2 3
is_valid_image_url()
S
68 2 7
instance()
S
71 2 6
fetch_image_data()
S
66 2 8
ssl_verify()
S
72 2 6
file_path()
S
70 2 6
restricted_meta_keys()
S
65 1 10
basename()
S
74 1 4
__construct()
S
80 1 3
post_meta_value()
S
73 1 4
get_post_id()
S
82 1 3
set_post_data()
S
81 1 3
set_post_meta()
S
81 1 3
set_taxonomies()
S
81 1 3
set_featured_image()
S
81 1 3
set_attachment()
S
81 1 3
set_order_items()
S
81 1 3
get_is_new()
S
82 1 3
get_primary_id()
S
82 1 3
get_post_data()
S
82 1 3
post_meta_key()
S
78 1 3
get_post_meta()
S
82 1 3
get_taxonomies()
S
82 1 3
get_featured_image()
S
82 1 3
get_attributes()
S
82 1 3
get_variations()
S
82 1 3
get_gallery_images()
S
82 1 3
get_attachment()
S
82 1 3
get_order_items()
S
82 1 3
get_integrations()
S
82 1 3
update_last_modified()
S
79 1 3